﻿using _111.Models;
using MyDapperApi.Models;
using QYWXUpdate.DataModel;
using static MyDapperApi.Services.NetCommonService;

namespace MyDapperApi.Services.Auth;

public interface IAuthService
{
    Task<CommonResponse> CreateToken(string role, string name);
    Task<CommonResponse> CheckToken(IdRequest request);
}